package com.castle.fortress.admin.study.course.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.study.course.entity.StudyCourseLogEntity;
import java.util.Map;
import java.util.List;
/**
 * 课程记录表Mapper 接口
 *
 * @author castle
 * @since 2023-02-14
 */
public interface StudyCourseLogMapper extends BaseMapper<StudyCourseLogEntity> {

	List<StudyCourseLogEntity> queryList(@Param("map")Map<String, Long> pageMap, @Param("studyCourseLogEntity") StudyCourseLogEntity studyCourseLogEntity);


    boolean updateStudyCourseLog(@Param("studyCourseLogEntity")StudyCourseLogEntity studyCourseLogEntity);

    void removeByCourseId(Long courseId);
}
